package com.kernelstudio.framework.boot.properties.framework.compatible;
/*
 * This file is part of the kernelstudio package.
 *
 * (c) 2014-2024 zlin <admin@kernelstudio.com>
 *
 * For the full copyright and license information, please view the LICENSE file
 * that was distributed with this source code.
 */

import com.kernelstudio.framework.compatible.DatabaseCompatibleMode;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "application.framework.compatible.database")
public class FrameworkDatabaseCompatibleProperties {

    /**
     * 数据库兼容模式
     */
    private DatabaseCompatibleMode mode = DatabaseCompatibleMode.MYSQL;

    public DatabaseCompatibleMode getMode() {
        return mode;
    }

    public void setMode(DatabaseCompatibleMode mode) {
        this.mode = mode;
    }
}
